<template>
	<view> <!-- 滚动公告栏 -->
		<view class="notice">
			<text class="noticeIcon icon-notice iconfont" style="color: #4399FC;"></text>
			<view class="right">
				<swiper class="netice-swiper" style="height: 60upx;" :vertical="true" :indicator-dots="flase" :autoplay="true" :interval="3000" :duration="1000" :circular="true">
					<block></block>
					<swiper-item>
						<view class="">需要更新的公告内容或新功能1</view>
					</swiper-item>
					<swiper-item> 
						<view class="">需要更新的公告内容或新功能2</view>
					</swiper-item>
				</swiper>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:'Notice',
		props:{},
		data() {
			return {
				
			};
		},
		watch:{},
		methods:{}
	}
</script>

<style lang="scss">
	// 滚动公告栏
	.notice{
		width: 100%;
		height: 108upx;
		position: relative;
		display: flex;
		align-items: center;
		background: #fff;
		font-size: 26upx;
		.left{
			padding: 0 28upx;
			display: flex;
			align-items: center;
			justify-content: center;
			float: left;
		}
		.noticeIcon {
			padding: 0 28upx;
		    // width: 19px;
		    height: 32upx;
		}
		.right {
		    padding-left: 16upx;
		    width: 100%;
		    height: 56upx;
		    max-width: 534upx;
		    overflow: hidden;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		    position: relative;
		    border-left: 2upx solid #eee;
			line-height: 56upx;
		}
	}
</style>
